From d18722f7bce394d59fbbcd2861894c9cb81df8eb Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 13 Jul 2015 14:45:11 -0700 Subject: [PATCH] Set $wgMainWANCache to none for PHPUnit, as is done for $wgMainCacheType Change-Id: I0518876d7df7027c934d1199543a3185732df663 --- tests/phpunit/phpunit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/phpunit.php b/tests/phpunit/phpunit.php index efde4c0103..587d6d0c2c 100755 --- a/tests/phpunit/phpunit.php +++ b/tests/phpunit/phpunit.php @@ -55,7 +55,7 @@ class PHPUnitMaintClass extends Maintenance { public function finalSetup() { parent::finalSetup(); - global $wgMainCacheType, $wgMessageCacheType, $wgParserCacheType; + global $wgMainCacheType, $wgMessageCacheType, $wgParserCacheType, $wgMainWANCache; global $wgLanguageConverterCacheType, $wgUseDatabaseMessages; global $wgLocaltimezone, $wgLocalisationCacheConf; global $wgDevelopmentWarnings; @@ -67,6 +67,7 @@ class PHPUnitMaintClass extends Maintenance { $wgDevelopmentWarnings = true; $wgMainCacheType = CACHE_NONE; + $wgMainWANCache = CACHE_NONE; $wgMessageCacheType = CACHE_NONE; $wgParserCacheType = CACHE_NONE; $wgLanguageConverterCacheType = CACHE_NONE; -- 2.20.1